# __coding:utf-8__
# http://down1.txt99.com/d/file/p/txt/2014/%E7%9B%97%E5%A2%93%E7%AC%94%E8%AE%B0%E5%85%A8%E9%9B%86.txt

from urllib.request import urlopen

url = "http://www.pythonscraping.com/pages/warandpeace/chapter1.txt";
url = "http://www.pythonscraping.com/pages/warandpeace/chapter1-ru.txt"
textPage = urlopen(url)
print(str(textPage.read(), encoding='utf-8'))
